package cn.com.surker.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训记录表
 * </p>
 *
 * @author admin
 * @since 2024-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OaDrillRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 系统主题(后台枚举)
     */
    private Integer type;

    /**
     * 培训主题
     */
    private String title;

    /**
     * 培训内容
     */
    private String content;

    /**
     * 培训人
     */
    private String person;

    /**
     * 参与人员
     */
    private String drill;

    /**
     * 培训时间
     */
    private String drillTime;

    /**
     * 状态(0:启用1：禁用)
     */
    private Integer status;

    /**
     * 审核备注，当审核结果为不通过时，必填
     */
    private String remark;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 更新人
     */
    private String updater;

    /**
     * 更新日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    public OaDrillRecord(){}
    public OaDrillRecord(Integer type, String title, String content, String person, String drill, String drillTime, Integer status, String remark, String creater, Date createTime) {
        this.type = type;
        this.title = title;
        this.content = content;
        this.person = person;
        this.drill = drill;
        this.drillTime = drillTime;
        this.status = status;
        this.remark = remark;
        this.creater = creater;
        this.createTime = createTime;
    }
}
